package com.usian.apis.wemedia;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.pojos.WmUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * ClassName: WmUserControllerApi
 * Author:   WGG
 * Date:    2022-11-2022/11/14-12:28
 * Version: 1.0
 * Description:
 */
@Api(value = "自媒体",tags = "wmuser",description = "自媒体API")
public interface WemediaUserControllerApi {
    /**
     * 根据名称查询自媒体人
     * @param name
     * @return
     */
    @ApiOperation("根据名称查询自媒体人")
    public WmUser findByName(String name);

    /**
     * 添加自媒体人
     * @param wmUser
     * @return
     */
    @ApiOperation("添加自媒体人")
    public ResponseResult save(WmUser wmUser);
}
